﻿using System;
using DimensionsHelper.Common.Contracts.Table;

namespace DimensionsHelper.Common.Table;

public delegate void ReadCellDataHandler<T>(ITableReader reader, ReadCellDataEventArgs<T> args);

public class ReadCellDataEventArgs<T> : EventArgs
{
    public ReadCellDataEventArgs(T content, ILine line)
    {
        Content = content;
        Line = line;
    }

    public T Content { get; }

    public ILine Line { get; }
}